package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
/**
 * (TbSpeedkill)实体类
 *
 * @author makejava
 * @since 2023-10-31 15:46:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TbSpeedkill {
    @TableId(type = IdType.AUTO)
    private Integer speedId;
    
    private Integer goodsId;
    
    private String speedTitle;
    
    private String speedPic;
    
    private BigDecimal speedPrice;
    
    private BigDecimal speedCostPrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date speedCreatetime; //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date speedChecktime;//审核时间
    
    private Integer speedCheckstatus;//审核状态 0未审核  -1通过 -2未通过
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date speedStarttime; //秒杀开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date speedEndtime; //秒杀结束时间
    
    private Integer speedNum; //秒杀数量
    
    private Integer speedStock;//库存数量
    
    private String speedInfo;


}

